/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.rhythm.commons.io;

import com.rhythm.base.Strings;
import java.io.File;

/**
 *
 * @author mlee
 */
public class MockDirectory {

    private final static String rootPath;
    private final static File root;

    static {
        rootPath = "\\test" + Strings.random(25);

        root = new File(rootPath);
        
    }

    public MockDirectory() {
    }

    public boolean construct(){
        return root.mkdir();
    }

    public boolean deconstruct(){
        return Directory.delete(root);
    }









}
